package com.yuneec.droneservice.parse;

/**
 * Created by gjw on 2016/12/5.
 */

public class Figure8 {
    public byte index;
    public byte[] channel_map;

    public byte[] getDatas() {
        if (channel_map == null) {
            return null;
        }
        byte[] datas = new byte[channel_map.length + 1];
        datas[0] = index;
        System.arraycopy(channel_map, 0, datas, 1, channel_map.length);
        return datas;
    }
}
